#include "EditorExplorerAbilityGroupViewModel.h"

#include "Asset/EditorDefaultPackage.h"
#include "EditorExplorerAbilityGroupModel.h"

TSharedObjectPtr<RTexture2D> REditorExplorerAbilityGroupViewModel::GetIcon() const
{
    return Icon;
}

TSharedObjectPtr<RTexture2D> REditorExplorerAbilityGroupViewModel::GetHighlightIcon() const
{
    return HighlightIcon;
}

void REditorExplorerAbilityGroupViewModel::BindModel(TSharedObjectPtr<REditorAbilityModel> InModel)
{
    Super::BindModel(InModel);

    Model = InModel;

    Icon = REditorDefaultPackage::Get()->GetIcon(U"CodiconFiles");
    HighlightIcon = REditorDefaultPackage::Get()->GetIcon(U"CodiconFiles_Highlight");
}